home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-07 | 39.6 KB | 1,183 lines |
- Printer Resource File
-
- For use with GIM (Genealogical Information Manager)
-
- To add a printer to this resource file, please contact your GIM authors
- and include full documentation on the printer escape/control code.
-
- If there are any errors which you have corrected in this resource file,
- please send the corrections to your GIM authors immediately.
-
-
- =default_empty
- _caveat 'No special instruction for this printer.'
- _start_print null
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 null
- _cpi_12 null
- _cpi_17 null
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 0
- _left_margin null
- _left_margin_tail null
- _left_margin_grain 0
- _carriage_return 13
- _carriage_home null
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold null
- _bold_cancel null
- _underline null
- _underline_cancel null
- _subscript null
- _subscript_cancel null
- _superscript null
- _superscript_cancel null
- _font_number 1
- _font_name 'default'
- _font_select null
- _font_file null
-
- =Generic_ASCII_Text
- _caveat 'Generic primitive printer.'
- _start_print null
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 null
- _cpi_12 null
- _cpi_17 null
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 0
- _left_margin null
- _left_margin_tail null
- _left_margin_grain 0
- _carriage_return 13
- _carriage_home null
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed null
- _bold null
- _bold_cancel null
- _underline null
- _underline_cancel null
- _subscript null
- _subscript_cancel null
- _superscript null
- _superscript_cancel null
- _font_number 1
- _font_name 'default'
- _font_select null
- _font_file null
-
- =Generic_Dot_Matrix_(Epson_mode)
- _caveat 'Generic dot-matrix printer.'
- _start_print 27 '@' 27 '0'
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 'P'
- _cpi_12 18 27 'M'
- _cpi_17 15
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 0
- _left_margin null
- _left_margin_tail null
- _left_margin_grain 0
- _carriage_return 13
- _carriage_home null
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold null
- _bold_cancel null
- _underline null
- _underline_cancel null
- _subscript null
- _subscript_cancel null
- _superscript null
- _superscript_cancel null
- _font_number 1
- _font_name 'default'
- _font_select null
- _font_file null
-
- =Epson_default
- _caveat null
- _start_print 27 116 49 27 54
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 80
- _cpi_12 18 27 77
- _cpi_17 27 80 15
- _horiz_pos_abs 27 36
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 1
- _horiz_pos_abs_grain 360
- _vert_pos_rel 27 51
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 180
- _left_margin 27 108
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 27 '<'
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold 27 69
- _bold_cancel 27 70
- _underline null
- _underline_cancel null
- _subscript null
- _subscript_cancel null
- _superscript null
- _superscript_cancel null
- _font_number 1
- _font_name 'default'
- _font_select null
- _font_file null
-
- =Epson_RX-80_compatible
- @Panasonic_KX-P1091i_(Epson_emulation)
- _caveat null
-
- =Epson_LX-810_(test_1)
- _caveat null
- _start_print 27 '@' 27 't' 1
- _end_print 27 '@'
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 'P'
- _cpi_12 18 27 'M'
- _cpi_17 27 'P' 15
- _horiz_pos_abs 27 68 00 13 27 68
- _horiz_pos_abs_tail 00 09
- _horiz_pos_param_size 1
- _horiz_pos_abs_grain 17
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain
- _left_margin 18 27 'M' 27 'l'
- _left_margin_tail null
- _left_margin_grain 12
- _carriage_return 13
- _carriage_home null
- _line_feed 10
- _line_feed_amt 27 'A'
- _line_feed_amt_tail null
- _line_feed_amt_grain 58
- _form_feed 12
- _bold 27 'E'
- _bold_cancel 27 'F'
- _underline 27 '-' 1
- _underline_cancel 27 '-' 0
- _subscript 27 'S' 1
- _subscript_cancel 27 'T'
- _superscript 27 'S' 0
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft Quality'
- _font_select 27 'x' 0
- _font_file null
- _font_number 2
- _font_name 'NLQ--Roman'
- _font_select 27 'x' 1 27 'k' 0
- _font_file null
- _font_number 3
- _font_name 'NLQ--Sans Serif'
- _font_select 27 'x' 1 27 'k' 1
- _font_file null
-
- =Epson_LX-810_(test_2_preferred)
- _caveat 'DIP switch 2-4 must be OFF'
- _start_print 27 '@' 27 't' 1
- _end_print 27 '@'
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 'P'
- _cpi_12 18 27 'M'
- _cpi_17 27 'P' 15
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain
- _left_margin 18 27 'M' 27 'l'
- _left_margin_tail null
- _left_margin_grain 12
- _carriage_return 13
- _carriage_home 13
- _line_feed 10
- _line_feed_amt 27 'A'
- _line_feed_amt_tail null
- _line_feed_amt_grain 58
- _form_feed 12
- _bold 27 'E'
- _bold_cancel 27 'F'
- _underline 27 '-' 1
- _underline_cancel 27 '-' 0
- _subscript 27 'S' 1
- _subscript_cancel 27 'T'
- _superscript 27 'S' 0
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft Quality'
- _font_select 27 'x' 0
- _font_file null
- _font_number 2
- _font_name 'NLQ--Roman'
- _font_select 27 'x' 1 27 'k' 0
- _font_file null
- _font_number 3
- _font_name 'NLQ--Sans Serif'
- _font_select 27 'x' 1 27 'k' 1
- _font_file null
-
- =Epson_LQ-860_compatible
- @Star_NX2420_Rainbow_(Epson_emulation)
- _caveat null
-
- =Epson_LQ-2500_compatible
- @Panasonic_KX-P1124_(Epson_emulation)
- _caveat null
-
- =HP_DeskJet_500
- @HP_LaserJet_II_internal
- ; start_print here is different from the HP_LaserJet_II_internal because:
- ; - the HP_LaserJet_II_internal defines a default primary and secondary
- ; pitch which are superfluous, since each font selects its own pitch
- ; - it is necessary to suppress the perforation skip, so the forms can
- ; print on the very top of the page; this step is apparently not
- ; necessary for the LaserJet and other PCL printers
- _start_print 27 'E' 27 '&l0L' 27 '&k0G'
- ; Preprinted FGR can use cpi_5 for those printers that support it
- _cpi_5 27 '(s5H'
- ; HP_LaserJet_II_internal uses a mechanism for setting logical left
- ; margins that the DeskJet doesn't support; the following six lines
- ; provide an alternate mechanism
- _left_margin null
- _left_margin_tail null
- _left_margin_grain null
- _carriage_return 13
- _carriage_home null
- _horiz_pos_abs_logic 1
- ; These are all DeskJet internal fonts
- _font_number 1
- _font_name 'Courier 10 Pitch LQ'
- _font_select 27 '(10U' 27 '(s0p10h12v0s0b3t2Q'
- _font_file null
- _font_number 2
- _font_name 'Letter Gothic 12 Pitch LQ'
- _font_select 27 '(10U' 27 '(s0p12h12v0s0b6t2Q'
- _font_file null
- _font_number 3
- _font_name 'Courier 10 Pitch Draft'
- _font_select 27 '(10U' 27 '(s0p10h12v0s0b3t1Q'
- _font_file null
- _font_number 4
- _font_name 'Letter Gothic 12 Pitch Draft'
- _font_select 27 '(10U' 27 '(s0p12h12v0s0b6t1Q'
- _font_file null
- ; I suspect that these entries ought to go in HP_LaserJet_II_internal.
- _subscript 27 '(s6V'
- _subscript_cancel 27 '(s12V'
-
- =HP_LaserJet_II_internal
- _caveat null
- _start_print 27 'E' 27 '(s12H' 27 ')s16.66H' 27 '&k0G'
- _end_print 27 'Z' 27 'E'
- _param_mode ascii
- _cpi_5 null
- _cpi_10 27 '(s10H'
- _cpi_12 27 '(s12H'
- _cpi_17 27 '(s16.66H'
- _horiz_pos_abs 27 '*p'
- _horiz_pos_abs_tail 'X'
- _horiz_pos_param_size 9
- _horiz_pos_abs_grain 300
- _vert_pos_rel 27 '*p+'
- _vert_pos_rel_tail 'Y'
- _vert_pos_rel_grain 300
- _left_margin 27 '&l+'
- _left_margin_tail 'U'
- _left_margin_grain 720
- _carriage_return 13
- _carriage_home 13
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold 27 '(s7B'
- _bold_cancel 27 '(s0B'
- _underline 27 '&dD'
- _underline_cancel 27 '&d@'
- _subscript null
- _subscript_cancel null
- _superscript null
- _superscript_cancel null
-
- =HP_LaserJet_II_(PCL_4)
- @HP_LaserJet_II_internal
- _font_number 1
- _font_name 'Internal Courier'
- _font_select 27 '(10U'
- _fontfile_set null
- _fontfile_set_tail null
- _fontfile_select null
- _fontfile_select_tail null
- _fontfile_10 null
- _fontfile_10b null
- _fontfile_12 null
- _fontfile_12b null
- _fontfile_17 null
- _fontfile_17b null
-
- =HP_LaserJet_II_diagnostic
- @HP_LaserJet_II_(PCL_4)
- _start_print 27 'E' 27 'Y' 27 '(s12H' 27 ')s16.66H' 27 '&k0G'
- _end_print 27 'Z' 27 'E'
-
- =HP_LaserJet_II_(testing)
- @HP_LaserJet_II_internal
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _font_number 1
- _font_name 'Internal Courier'
- _font_select 27 '(10U'
- _font_file null
-
- =IBM_2390/2391_(IBM_mode)
- _caveat null
- _start_print 27 '@' 27 '6'
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18
- _cpi_12 18 27 ':'
- _cpi_17 18 15
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel 27 'J'
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 216
- _left_margin 18 27 'X'
- _left_margin_tail 80
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home null
- _line_feed 10
- _line_feed_amt 27 'A'
- _line_feed_amt_tail 27 '2'
- _line_feed_amt_grain 72
- _form_feed 12
- _bold 27 'E'
- _bold_cancel 27 'F'
- _underline 27 '-' 1
- _underline_cancel 27 '-' 0
- _subscript 27 'S' 0
- _subscript_cancel 27 'T'
- _superscript 27 'S' 1
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft'
- _font_select 27 '[d' 1 0 1
- _font_file null
- _font_number 2
- _font_name 'Letter Quality'
- _font_select 27 '[d' 1 0 254
- _font_file null
-
- =IBM_2390/2391_(Epson_mode)
- _caveat null
- _start_print 27 't' 1
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 'P'
- _cpi_12 18 27 'M'
- _cpi_17 27 'P' 15
- _horiz_pos_abs 27 '$'
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 1
- _horiz_pos_abs_grain 60
- _vert_pos_rel 27 'J'
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 216
- _left_margin 18 27 'M' 27 'l'
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 27 '<'
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold 27 'E'
- _bold_cancel 27 'F'
- _underline 27 '-' 1
- _underline_cancel 27 '-' 0
- _subscript 27 'S' 0
- _subscript_cancel 27 'T'
- _superscript 27 'S' 1
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft Quality'
- _font_select 27 'x' 0
- _font_file null
- _font_number 2
- _font_name 'Letter Quality--Prestige'
- _font_select 27 'x' 1 27 'k' 0
- _font_file null
- _font_number 3
- _font_name 'Letter Quality--Gothic'
- _font_select 27 'x' 1 27 'k' 1
- _font_file null
- _font_number 4
- _font_name 'Letter Quality--Courier'
- _font_select 27 'x' 1 27 'k' 2
- _font_file null
- _font_number 5
- _font_name 'Letter Quality--Script'
- _font_select 27 'x' 1 27 'k' 4
- _font_file null
- _font_number 6
- _font_name 'Letter Quality--Orator'
- _font_select 27 'x' 1 27 'k' 7
- _font_file null
- _font_number 7
- _font_name 'Letter Quality--Presentor'
- _font_select 27 'x' 1 27 'k' 8
- _font_file null
-
- =IBM_ProPrinter_X24E_compatible
- @Star_NX2420_Rainbow_(ProPrinter_Emul)
- _caveat null
-
- =Panasonic_default
- _caveat null
- _start_print 17 27 '6'
- _end_print 19
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 80
- _cpi_12 18 27 77
- _cpi_17 27 80 15
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel 27 43
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 360
- _left_margin 18 27 80 27 108
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 27 '<'
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold 27 'E'
- _bold_cancel 27 'F'
- _underline null
- _underline_cancel null
- _subscript null
- _subscript_cancel null
- _superscript null
- _superscript_cancel null
- _font_number 1
- _font_name 'Draft'
- _font_select 27 'x0' 27 'U0'
- _font_file null
- _font_number 2
- _font_name 'Courier'
- _font_select 27 'x1' 27 107 0 27 'U1'
- _font_file null
-
- ; Our thanks to Vince Broman for the following entry
- =Panasonic_KX-P1091
- _caveat 'Need front panel switch set to Std. Pgm.'
- _start_print 13 27 64
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 110
- _cpi_12 18 27 77
- _cpi_17 18 27 80 15
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel 27 74
- _vert_pos_rel_tail 10
- _vert_pos_rel_grain 216
- _left_margin 27 108
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 13
- _line_feed 10
- _line_feed_amt 27 51
- _line_feed_amt_tail null
- _line_feed_amt_grain 216
- _form_feed 12
- _bold null
- _bold_cancel null
- _underline 27 '-1'
- _underline_cancel 27 '-0'
- _subscript 27 'S1'
- _subscript_cancel 27 'T'
- _superscript 27 'S0'
- _superscript_cancel 27 'T'
- _single_high_wide null
- _double_high_wide null
- _font_number 1
- _font_name 'default'
- _font_select null
- _font_file null
-
- =Panasonic_KX-P1091i_(Epson_emulation_new)
- _caveat 'Make sure DIP switch 3 is off, and switch 1 is on'
- . I think the *start* and *end* print should reset the printer. This
- . is done with different sequences. The DC1 and DC3 characters
- . that were used are flow control characters (from what I understand
- . from the printer manual).
- . _start_print 17
- . _end_print 19
- _start_print 27 '@'
- _end_print 27 '@'
- _param_mode binary
- . Blaine had me put different values in here, but these originals work.
- _cpi_5 null
- _cpi_10 27 'w' 0
- _cpi_12 27 'w' 1
- _cpi_17 27 'w' 3
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- . The following three lines have the values that were previously
- . given to _line_feed_amt below.
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 0
- _left_margin 27 'w' 0 27 'l'
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _line_feed 10
- . The following three lines have the values that were previously
- . given to _vert_pos_rel above.
- _line_feed_amt 27 '3'
- _line_feed_amt_tail null
- _line_feed_amt_grain 216
- _form_feed 12
- _bold 27 'G'
- _bold_cancel 27 'H'
- . The attributes below that have two characters in the string are
- . incorrect. They should have one character and the digit should
- . be an actual numeric.
- . i.e. wrong: _underline 27 '-1'
- _underline 27 '-' 1
- _underline_cancel 27 '-' 0
- _subscript 27 'S' 1
- _subscript_cancel 27 'T'
- _superscript 27 'S' 0
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft'
- _font_select 27 'x' 0
- _font_file null
- _font_number 2
- _font_name 'Courier'
- _font_select 27 'x' 1
- _font_file null
-
- =Panasonic_KX-P1091i_(Epson_emul_old)
- _caveat 'Make sure DIP switch 3 is off, and switch 1 is on'
- _start_print 17
- _end_print 19
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 'P'
- _cpi_12 18 27 'M'
- _cpi_17 27 'P' 27 15
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 0
- _left_margin 18 27 'P' 27 'l'
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 27 '<'
- _line_feed 10
- _line_feed_amt 27 '3'
- _line_feed_amt_tail null
- _line_feed_amt_grain 216
- _form_feed 12
- _bold 27 'G'
- _bold_cancel 27 'H'
- _underline 27 '-1'
- _underline_cancel 27 '-0'
- _subscript 27 'S1'
- _subscript_cancel 27 'T'
- _superscript 27 'S0'
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft'
- _font_select 27 'x0'
- _font_file null
- _font_number 2
- _font_name 'Courier'
- _font_select 27 'x1'
- _font_file null
-
- =Panasonic_KX-P1091i_(Proprinter_emulation)
- _caveat 'Make sure DIP switch 3 is off, and switch 1 is off'
- _start_print 27 '6'
- _end_print 27 'H'
- _param_mode binary
- _cpi_5 null
- _cpi_10 18
- _cpi_12 18 27 '+'
- _cpi_17 18 15
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 0
- _left_margin 18 27 'X'
- _left_margin_tail 80
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home null
- _line_feed 10
- _line_feed_amt 27 '3'
- _line_feed_amt_tail null
- _line_feed_amt_grain 216
- _form_feed 12
- _bold 27 'E'
- _bold_cancel 27 'F'
- _underline 27 '-1'
- _underline_cancel 27 '-0'
- _subscript 27 'S1'
- _subscript_cancel 27 'T'
- _superscript 27 'S0'
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft'
- _font_select 27 'I' 0 27 'H'
- _font_file null
- _font_number 2
- _font_name 'Letter Quality'
- _font_select 27 'I' 2 27 'G'
- _font_file null
-
- =Panasonic_KX-P1124_(Epson_emulation)
- _caveat 'This printer must be in the Epson compatibility mode'
- _start_print 27 '6'
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 80
- _cpi_12 18 27 77
- _cpi_17 27 80 15
- _horiz_pos_abs 27 '$'
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 2
- _horiz_pos_abs_grain 60
- _vert_pos_rel 27 'J'
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 180
- _left_margin 18 27 'P' 27 108
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 27 '<'
- _line_feed 10
- _line_feed_amt 27 '+'
- _line_feed_amt_tail null
- _line_feed_amt_grain 360
- _form_feed 12
- _bold 27 69
- _bold_cancel 27 70
- _underline 27 45 1
- _underline_cancel 27 45 0
- _subscript 27 83 1
- _subscript_cancel 27 84
- _superscript 27 83 0
- _superscript_cancel 27 84
- _font_number 1
- _font_name 'Draft'
- _font_select 27 'x0' 27 'U0'
- _font_file null
- _font_number 2
- _font_name 'Courier'
- _font_select 27 'x1' 27 107 0 27 'U1'
- _font_file null
- _font_number 3
- _font_name 'Prestige'
- _font_select 27 'x1' 27 107 3 27 'U1'
- _font_file null
- _font_number 4
- _font_name 'Sans Serif'
- _font_select 27 'x1' 27 107 1 27 'U1'
- _font_file null
- _font_number 5
- _font_name 'Script'
- _font_select 27 'x1' 27 107 4 27 'U1'
- _font_file null
-
- =Star_default
- _start_print 27 116 49 27 54
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 80
- _cpi_12 18 27 77
- _cpi_17 27 80 27 15
- _horiz_pos_abs 27 36
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel 27 51
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 180
- _left_margin 18 27 80 27 108
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 27 '<'
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold 27 69
- _bold_cancel 27 70
- _underline 27 45 49
- _underline_cancel 27 45 48
- _subscript subscript_cancel null
- _superscript null
- _superscript_cancel null
- _font_number 1
- _font_name 'Draft'
- _font_select 27 120 48 27 'U0'
- _font_file null
- _font_number 2
- _font_name 'Courier'
- _font_select 27 120 49 27 107 0 27 'U1'
- _font_file null
- _font_number 3
- _font_name 'Sans Serif'
- _font_select 27 120 49 27 107 1 27 'U1'
- _font_file null
- _font_number 4
- _font_name 'Orator Caps'
- _font_select 27 120 49 27 107 2 27 'U1'
- _font_file null
- _font_number 5
- _font_name 'Orator LC'
- _font_select 27 120 49 27 107 3 27 'U1'
- _font_file null
-
- =Star_NX2420_Rainbow_(Epson_Emulation)
- _caveat 'Make sure EDS switch A-1 is on'
- _start_print 27 't1' 27 '6' 27 '5' 0 27 '[\' 4 0 0 0 0 180
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 'P'
- _cpi_12 18 27 'M'
- _cpi_17 27 'P' 15
- _horiz_pos_abs 27 '$'
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 2
- _horiz_pos_abs_grain 60
- _vert_pos_rel 27 'J'
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 180
- _left_margin 18 27 'P' 27 'l'
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home 27 '<'
- _line_feed 10
- _line_feed_amt 27 '+'
- _line_feed_amt_tail null
- _line_feed_amt_grain 360
- _form_feed 12
- _bold 27 'E'
- _bold_cancel 27 'F'
- _underline 27 '-1'
- _underline_cancel 27 '-0'
- _subscript 27 'S1'
- _subscript_cancel 27 'T'
- _superscript 27 'S0'
- _superscript_cancel 27 'T'
- _font_number 1
- _font_name 'Draft'
- _font_select 27 'x0'
- _font_file null
- _font_number 2
- _font_name 'Times Roman'
- _font_select 27 'x1' 27 'k' 0
- _font_file null
- _font_number 3
- _font_name 'Sans Serif'
- _font_select 27 'x1' 27 'k' 1
- _font_file null
- _font_number 4
- _font_name 'Courier'
- _font_select 27 'x1' 27 'k' 2
- _font_file null
- _font_number 5
- _font_name 'Prestige'
- _font_select 27 'x1' 27 'k' 3
- _font_file null
- _font_number 6
- _font_name 'Script'
- _font_select 27 'x1' 27 'k' 4
- _font_file null
-
- =Star_NX2420_Rainbow_(ProPrinter_Emulation)
- _caveat 'Make sure EDS switch A-1 is off'
- _start_print 27 116 49 27 54
- _end_print null
- _param_mode binary
- _cpi_5 null
- _cpi_10 18 27 80
- _cpi_12 18 27 77
- _cpi_17 27 80 27 15
- _horiz_pos_abs 27 36
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel 27 51
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 180
- _left_margin 18 27 80 27 108
- _left_margin_tail null
- _left_margin_grain 10
- _carriage_return 13
- _carriage_home null
- _line_feed 10
- _line_feed_amt null
- _line_feed_amt_tail null
- _line_feed_amt_grain 0
- _form_feed 12
- _bold 27 69
- _bold_cancel 27 70
- _underline 27 45 49
- _underline_cancel 27 45 48
- _subscript null
- _subscript_cancel null
- _superscript null
- _superscript_cancel null
- _font_number 1
- _font_name 'Draft'
- _font_select 27 120 48 27 'U0'
- _font_file null
- _font_number 2
- _font_name 'Courier'
- _font_select 27 120 49 27 107 0 27 'U1'
- _font_file null
- _font_number 3
- _font_name 'Sans Serif'
- _font_select 27 120 49 27 107 1 27 'U1'
- _font_file null
- _font_number 4
- _font_name 'Orator Caps'
- _font_select 27 120 49 27 107 2 27 'U1'
- _font_file null
- _font_number 5
- _font_name 'Orator LC'
- _font_select 27 120 49 27 107 3 27 'U1'
- _font_file null
-
- ; Our thanks to Vince Broman for the following entry
- =Debug
- _caveat 'Debugging printer, best dumped to file'
- _start_print '<startprint>'
- _end_print '<endprint>'
- _param_mode ascii
- _cpi_5 null
- _cpi_10 '<cpi10>'
- _cpi_12 '<cpi12>'
- _cpi_17 '<cpi17>'
- _horiz_pos_abs null
- _horiz_pos_abs_tail null
- _horiz_pos_param_size 0
- _horiz_pos_abs_grain 0
- _vert_pos_rel null
- _vert_pos_rel_tail null
- _vert_pos_rel_grain 0
- _left_margin '<leftmargin='
- _left_margin_tail '/10>'
- _left_margin_grain 10
- _carriage_return '<CR>' 13 10
- _carriage_home '<CRHOME>' 13 10
- _line_feed '<LF>' 13 10
- _line_feed_amt '<LFAMT='
- _line_feed_amt_tail '/216>'
- _line_feed_amt_grain 216
- _form_feed '<FF>' 13 10
- _bold '<BOLDON>'
- _bold_cancel '<BOLDOFF>'
- _underline '<ULINEON>'
- _underline_cancel '<ULINEOFF>'
- _subscript '<SUBSON>'
- _subscript_cancel '<SUBSOFF>'
- _superscript '<SUPERON>'
- _superscript_cancel '<SUPEROFF>'
- _single_high_wide null
- _double_high_wide null
- _font_number 1
- _font_name 'default'
- _font_select null
- _font_file null
-
- {
-
- Notes:
-
- Below is a commented printer definition block.
- This definition block has no effect on GIM.
- GIM only reads and recognizes lines which begin
- with: = _ @
- (whitespace--i.e. spaces, tabs, ...--are ignored)
- A "{" begins a comment block, and a "}" ends it.
-
- =default_dummy
- A line with an = marks the beginning of a
- printer definition block. The printer
- name immediately follows the equal sign.
- All subsequent recognized lines
- (beginning with: = _ @ ) are recognized
- and used for the current printer
- definition, until another line is
- encountered which begins with = .
-
- _start_print null
- This contains a sequence of printer
- escape commands which are sent to the
- printer at the beginning of every print
- job. This is a string value. Numbers
- encountered (not within quotes) are
- interpreted as decimal values for ACSII
- characters, i.e. 27 represents the <ESC>
- character. Character encountered between
- quotes (single and double quotes) are
- taken literally.
-
- _end_print null
- This contains a sequence of printer
- escape commands which are sent to the
- printer at the end of every print job.
-
- _param_mode binary
- This contains either the word binary or
- ascii. This designates whether a
- parameter within a printer escape command
- should be constructed with character
- coded binary values or with ascii
- characters 0-9 (ASCII 48-57). This also
- specifies the "style" of printer escape
- commands. The Epson/IBM dot-matrix style
- begins the command with an ESC character,
- then 1-3 characters for the command code,
- and then conditionally data values. The
- LaserJet/PCL family use a significantly
- different command style: This begins
- with the ESC character and may contain
- multiple printer commands and ends with
- an uppercase alphabetic character (A-Z).
- All characters within the command are
- printing ASCII characters (> ASCII
- "space"). Data values are strictly ASCII
- numbers (ASCII 48-57).
-
- _cpi_5 null
- Printer code for double-wide pitch.
-
- _cpi_10 null
- Printer code for pica pitch.
-
- _cpi_12 null
- Elite pitch.
-
- _cpi_17 null
- Compressed pitch.
-
- _horiz_pos_abs null
- Position at a specified location from the
- left side of the page (absolute not
- relative position).
-
- _horiz_pos_abs_tail null
- Terminating command sequence (for
- LaserJet/PCL printers).
-
- _horiz_pos_param_size 0
- Number of character used to encode the
- data value (for dot-matrix printers).
- Typically 1 or 2.
-
- _horiz_pos_abs_grain 0
- Granularity. The data value (d) in the
- printer escape command is divided by the
- granularity (g) to determine the number of
- inches for positioning.
- [movement = d (from GIM) / g]
-
- _vert_pos_rel null
- This causes a paper vertical advance to
- occur immediately. Carriage positioning
- must not be affected! If dot-matrix
- printer does not support this function
- then use line_feed_amt mechanism.
-
- _vert_pos_rel_tail null
- Terminating command sequence (for
- LaserJet/PCL printers).
-
- _vert_pos_rel_grain 0
- Granularity. The data value (d) in the
- printer escape command is divided by the
- granularity (g) to determine the number of
- inches for positioning.
- [movement = d (from GIM) / g]
-
- _left_margin null
- Left margin.
-
- _left_margin_tail null
- Terminating command sequence (for
- LaserJet/PCL printers).
-
- _left_margin_grain 0
- Granularity. The data value (d) in the
- printer escape command is divided by the
- granularity (g) to determine the number of
- inches for positioning.
- [movement = d (from GIM) / g]
- Assume that the pitch is Pica (10 CPI)!
-
- _carriage_return 13
- Traditional ASCII carriage return.
- (Printer may or may not perform an assumed
- subsequent line feed.)
-
- _carriage_home null
- Strictly a pure carriage return without
- any associated line feed. Very desirable
- if the printer supports this.
-
- _line_feed 10
- Traditional ASCII line feed. (Printer
- should not perform any hidden carriage
- return.)
-
- _line_feed_amt null
- Set up spacing for next line_feed. Must
- perform any vertical positioning. Does
- not cause an immediate line feed.
- (Typically used by dot-matrix printers
- without the vert_pos_rel functionality.
- Preferred over vert_pos_rel.)
-
- _line_feed_amt_tail null
- Terminating command sequence (for
- LaserJet/PCL printers).
-
- _line_feed_amt_grain 0
- Granularity. The data value (d) in the
- printer escape command is divided by the
- granularity (g) to determine the number of
- inches for positioning.
- [movement = d (from GIM) / g]
-
- _form_feed 12
- Form feed.
-
- _bold null
- Set bold.
-
- _bold_cancel null
- Cancel bold.
-
- _underline null
- Set underline.
-
- _underline_cancel null
- Cancel underline.
-
- _subscript null
- Set subscript. (Not required; nice to
- have.)
-
- _subscript_cancel null
- Cancel supscript.
-
- _superscript null
- Set superscript. (Not required; nice
- to have.)
-
- _superscript_cancel null
- Cancel superscript.
-
- _font_number 1
-
- _font_name 'default'
-
- _font_select null
-
- _font_file null
-
- }
-